package com.yami.shop.bean.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.Date;

@TableName("tz_user_block")
@Data
public class UserBlock {

    @TableId
    private Long id;

    private String userId;
    
    @NotEmpty(message = "被拉黑用户不能为空")
    private String blockUserId;

    private Date createTime;

}
